package com.vueblog.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import lombok.Data;

/**
 * 用户等级表
 * @TableName t_user_grade
 */
@TableName(value ="t_user_grade")
@Data
public class UserGrade implements Serializable {
    /**
     * ID
     */
    @TableId(type = IdType.AUTO)
    private Integer gradeId;

    /**
     * 用户手机号
     */
    @TableId
    private String userPhone;

    /**
     * 当前等级
     */
    private Integer gradeNumber;

    /**
     * 等级进度条[满100就加一级]
     */
    private Integer gradeProgress;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}